<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'search.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	<script type="text/javascript" src="js/jquery-1.12.4.js"></script>
	<script type="text/javascript">
		
		$(function(){
			$("input[name='search']").click(function(){
				var goodsDistrict=$("select").val();
				location.href="search?goodsDistrict="+goodsDistrict;
			});
		
		
		});
		
		
	</script>
	
	
  </head>
  
  <body>
    <div style="width:50%;margin:200px auto;">
    	请选择区域：<select>
    					<option value="" >请选择</option>
    					<option value="1">朝阳区订单</option>
    					<option value="2">海淀区订单</option>
    					<option value="3">丰台区订单</option>
    					<option value="4">西城区订单</option>
    					<option value="5">昌平区订单</option>
    			   </select>
    			  <input type="button" name="search" value="查  询"/> 
    <!-- 			   #商品区域整数非空1-朝阳2-海淀3-丰台4-西城5-昌平
  B、在下拉框中显示“请选择”、“朝阳区订单”、“海淀区订单”、“丰台区订单”、“西城区订单”、“昌平区订单”，下拉框默认选中：“请选择”。
				C、根据下拉框选择的查询条件，查询对应区域的订单信息。注意：若下拉框
				选择：请选择，则查询出所有区域的订单信息。
				D、点击提交能够提交数据到查询订单的控制器。   
    			    -->			   
    </div>
  </body>
</html>
